<?php
//设置面包屑
$this->breadcrumbs=array(
	'用户管理'=>array('admin'),
	'修改用户',
);
//设置页面标题
$this->pageTitle=Yii::app()->name.' - 修改用户';
$this->contentTitle='修改用户';
?>

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'user-form',
	'enableAjaxValidation'=>false,
        'enableClientValidation'=>true,
        'clientOptions'=>array(
            'validateOnSubmit'=>true
        ),
    'htmlOptions'=>array('class'=>'ajax_form'),
)); ?>
<table cellspacing="1" class="myform">
    <tr>
        <td align="right"><?php echo $form->labelEx($model,'username'); ?></td>
        <td>
            <?php echo $form->textField($model,'username',array('size'=>50,'maxlength'=>50,'class'=>'fl input')); ?>
            <?php echo $form->error($model,'username'); ?>
        </td>
    </tr>
    <tr>
        <td align="right"><?php echo $form->labelEx($model,'password'); ?></td>
        <td>
            <?php echo $form->textField($model,'password',array('size'=>50,'maxlength'=>50,'class'=>'fl input')); ?>
            <?php echo $form->error($model,'password'); ?>
        </td>
    </tr>
    <tr>
        <td align="right"></td>
            <td>
                <?php echo CHtml::submitButton('提 交',array('class'=>'but')); ?>
            </td>
    </tr>
</table>
<?php $this->endWidget(); ?>